//
//  ArqEncryption.h
//  arq
//
//  Created by xiao wen on 15/1/20.
//  Copyright (c) 2015年 witsi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataTransmitImp.h"
#include "EmvParamCpp.h"
#include "EmvReturn.h"
#include "EmvMacro.h"

@interface ArqEmvLib : NSObject{
@private
    void *pCppObj;
}


-(id) initWith:(DataTransmitImp*)dataTransmit;

-(int)startEmv:(EmvParam*)param returnEmv:(EmvReturn*)emvRet;

-(int)stopEmv:(TransMode)cardType returnResault:(TransRes)result;

-(int)getEmvData:(int)nTag withTagBuf:(int*)tagBuf returnTlvBuf:(NSData**)recbuf withTimeOut:(int)ms;


@end
